//输入身高和体重，计算BMI指数(BMI = w/(h*h))。

#include <stdio.h>
#define BMI (weight/(high*high))

int main(){
	float high=0;
	float weight=0;
	printf("输入身高和体重，用空格隔开：");
	scanf("%f%f",&high,&weight);

	printf("计算BMI指数为：%.2f\n",BMI);

	return 0;
}
